﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;
using Wz.Enum;

namespace Wz.Entities
{
    /// <summary>
    /// 收费管理
    /// </summary>
    public class ChargeTable: BasicAggregateRoot<Guid>
    {
        public string BusinessNum { get; set; }//业务单号
        public string Company { get; set; }//货主单位
        public string PayType { get; set; }//结算方式
        public int Weight { get; set; }//吨位
        public decimal Price { get; set; }//单价
        public DateTime? Btime { get; set; }//业务日期
        public string Cname { get; set; }//经办人
        public DateTime CreateTime { get; set; }//创建时间
        public string Remarks { get; set; }//备注
        public AuditState State { get; set; }//核对状态
        public string CheckName { get; set; }//核对人
        public DateTime? CheckTime { get; set; }//核对时间
        //构造函数
        public ChargeTable()
        {

        }
        public ChargeTable(Guid id, string businessNum, string company, string payType, int weight, decimal price, DateTime? btime, string cname, DateTime createTime, string remarks, AuditState state, string checkName, DateTime? checkTime)
        {
            Id = id;
            BusinessNum = businessNum;
            Company = company;
            PayType = payType;
            Weight = weight;
            Price = price;
            Btime = btime;
            Cname = cname;
            CreateTime = createTime;
            Remarks = remarks;
            State = state;
            CheckName = checkName;
            CheckTime = checkTime;
        }
    }
}
